<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;

class OauthController extends Controller
{
    public function credit(Request $req,$str){
        //return "hello world";
        $sess = $req->session();
       $u = $sess->get('str');
       if($str==$u){
       // redirect ('/');
        return "对的";
       }else{
        return "错了";
       }
    }
    public function showyzm(){
      return view('auth.test');
    }
}
